<%@ page contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<div class="input-append">
  <input class="datepicker" id="date" readonly/>
  <button class="btn btn-primary" type="button" onclick="loadMyTurnin()">
   <i class="icon-calendar icon-white"></i>
  </button>
</div>
<div id="mt">

</div>
<script type="text/javascript">
$(function(){
	$(".datepicker").datepicker();
	
});
function loadMyTurnin(){
	var usedate = $("#date").val();
	if(usedate==null || usedate=='' || usedate==undefined){
		alert('请选择日期');
		return;
	}
	$("#mt").load('contract/contract!myturnin?usedate='+usedate);
}
</script>